pkgname=postmarketos-base
pkgver=2
pkgrel=4
pkgdesc="Meta package for minimal postmarketos base"
url="https://github.com/postmarketOS"
arch="noarch"
license="GPL3+"
depends="alpine-base haveged cryptsetup wpa_supplicant iw openssh mosh
tmux htop nano postmarketos-mkinitfs eudev sudo"
makedepends=""
install="$pkgname.post-install"
subpackages=""
source="sudoers firmwareload.sh 50-firmware.rules $install"
options="!check"

package() {
	install -D -m644 "$srcdir"/sudoers \
		"$pkgdir"/etc/sudoers.d/postmarketos
	install -D -m644 "$srcdir"/50-firmware.rules \
		"$pkgdir"/etc/udev/rules.d/50-firmware.rules
	install -D -m755 "$srcdir"/firmwareload.sh \
		"$pkgdir"/usr/lib/firmwareload.sh

}
sha512sums="c6de3b44bc45b9f9c641a7e34c69a481ee39b99ac0251cd28f2b3aae49c1a8d1ca448f4936b7942b1a8b8f7c18a5415c938098765ed8cf08456543800160e64b  sudoers
7634ae903fae41f88dca1bf91910b8f1da5f27ec5187892679f347d68e80aa4abe634e9c9dffa939afbef32ae51eb3cb1ba580155b172cb805fa3b57afee75cd  firmwareload.sh
0b098828080055d3646ea54891cb0e1b578cbc30f5e16f7284f2814c08192f18079a38fb686d192715ae6a3d2cd6625d9e3cf99f234a6f0d94088bb0cb2ce43d  50-firmware.rules
2b243f7ac38b54cdbb834db45d0bb216c9343ec52aa2a0e4786cc925ef1503089fb1e8a2ca1e3dd833b8797c20c970b0e7989eea1da79d545bec36b233384315  postmarketos-base.post-install"
